<ion-view>
    <ion-header-bar class="bar bar-header header">
        <button on-touch="goback()" class="button return-btn">返回</button>
        <label class="item-input-wrapper hd-find-box">
            <i class="icon hd-find-icon"></i>
            <input type="search" class="hd-find-text" ng-model="searchKey" placeholder="请输入关键词搜索">
        </label>
        <button class="button hd-red-btn" on-touch="finishSelectWine()">搜素</button>
    </ion-header-bar>
    <ion-content class="gray-bg">
        <ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
        <div class="list">
            <div class="book-search-rs">共搜到<span style="color:#b00c3d">6</span>条记录</div>
            <ul>
                <li ng-repeat="newsItem in newsBottomList">
                    <!--ng-href="#/newsDetails/{{newsItem.message_id}}"-->
                    <a class="item item-thumbnail-left new-item" ng-click="readMessage(newsItem.message_id,'messageIndex')">
                        <img ng-src="{{picPath}}{{newsItem.message_icon}}" alt="" class="news-item-pic"/>
                        <div class="">
                            <h2 class="news-item-tit" ng-bind="newsItem.message_title"></h2>
                            <!--<p class="news-item-con" ng-bind="newsItem.message_summary"></p>-->
                            <p class="news-item-date">{{newsItem.message_time | date:"yyyy-MM-dd HH:mm"}}</p>
                        </div>
                    </a>
                </li>
            </ul>
        </div>
        <!--上拉加载-->
        <ion-infinite-scroll
                on-infinite="loadMore()" ng-if="hasNextPage()"
                distance="1%"></ion-infinite-scroll>
    </ion-content>
    <!--<a ng-class="{'fix-button':showWineGlasses,'fix-button-hidden':!showWineGlasses}" on-touch="goToWineIndex()" type="button"></a>-->
</ion-view>

